{%insert header.tpl%}
{%insert top.tpl%}
<form method="post">
<input type="hidden" name="method" value="Pivot" />
<div>За период с&nbsp;<input name="since" type="text" class="date-editor" value="" />&nbsp;по&nbsp;<input name="till" type="text" class="date-editor" value="" /></div>
<h4>Дополнительные измерения</h4>
<?php
$dims = $this->PAGE->Dimensions();
foreach ($dims as $key=>$class){
?>
<div class="type"><strong><?php echo $class['caption']; ?></strong></div>
<?php
foreach ($class['dimensions'] as $dim){
?>
<div><input type="checkbox" name="dimensions[<?php echo $key; ?>][<?php echo $dim->Name; ?>]" /><?php echo $dim->Caption; ?></div>
<?php
}
}
?>
<div class="btn-holder"><button type="submit">Сформировать</button></div>
</form>
{%insert formfields.tpl%}
{%insert footer.tpl%}
